package org.batatasframework.support.searchable;

import cn.bonoon.kernel.util.Opt;

public class FieldQueryedOpt {
	
	private String name;
	
	private String opt;
	
	/**
	 * 这里表示的是输入框的类型，如，单个输入框，多个输入框等
	 */
	private int inputIndex;

	public FieldQueryedOpt(Opt opt) {
		this.name = opt.getName();
		this.opt = opt.name();
		this.inputIndex = opt.getValueCount();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOpt() {
		return opt;
	}

	public void setOpt(String opt) {
		this.opt = opt;
	}

	public int getInputIndex() {
		return inputIndex;
	}

	public void setInputIndex(int inputIndex) {
		this.inputIndex = inputIndex;
	}
	
}
